Page({
    data: {
        id: null,
    },
    onLoad: function (e) {
        var that=this;
        that.setData({
            id:e.id-1
        })
        wx.request({
            url: 'https://www.zhaoyg.cn/index/index',
            data: { a: 1, token: 'luhao', e: e },
            method: 'POST',
            header: { 'content-type': 'application/json' },
            success: function (res) {
                console.log(res);
            }
        })

    }
})